[INFO] cloning repository https://github.com/dsbarnes/linked-lists
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsbarnes/linked-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eb80fb1b74e71e80a83ed6fc146b44a55133819b
[INFO] checking dsbarnes/linked-lists against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dsbarnes/linked-lists on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] finished tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] tweaked toml for git repo https://github.com/dsbarnes/linked-lists written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/dsbarnes/linked-lists already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c473e76e847d1fd6fd608a0a26c8620d67fe4bc58642c6345ef7d50c7e70c381
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c473e76e847d1fd6fd608a0a26c8620d67fe4bc58642c6345ef7d50c7e70c381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c473e76e847d1fd6fd608a0a26c8620d67fe4bc58642c6345ef7d50c7e70c381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c473e76e847d1fd6fd608a0a26c8620d67fe4bc58642c6345ef7d50c7e70c381", kill_on_drop: false }`
[INFO] [stdout] c473e76e847d1fd6fd608a0a26c8620d67fe4bc58642c6345ef7d50c7e70c381
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 605b7d0bc514a40817a6b1013ede1c4954fd2d74b8f9da8c5b906457e0f3cfac
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "605b7d0bc514a40817a6b1013ede1c4954fd2d74b8f9da8c5b906457e0f3cfac", kill_on_drop: false }`
[INFO] [stderr]     Checking linked-lists v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/second.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                      ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/second.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                      ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/second.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |            ---- this function doesn't have a `self` parameter
[INFO] [stdout] 44 |         self.head.as_ref().map(|node| {
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&&self, sefl) -> Option<&T> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/second.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                                  ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&'static T> {
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/second.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |            ---- this function doesn't have a `self` parameter
[INFO] [stdout] 44 |         self.head.as_ref().map(|node| {
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&&self, sefl) -> Option<&T> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/second.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                                  ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&'static T> {
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/second.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> List<T> {
[INFO] [stdout]    |      - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 33 |         self.head = Some(new_node);
[INFO] [stdout]    |                          ^^^^^^^^ expected type parameter `T`, found struct `second::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<T>`
[INFO] [stdout]               found struct `Box<second::Node<T>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.head = node.next;
[INFO] [stdout]    |                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             node.elem
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `&mut Box<T>`
[INFO] [stdout]   --> src/second.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut node.elem
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             cur_link = boxed_node.next.take();
[INFO] [stdout]    |                                   ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0424, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linked-lists`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/second.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> List<T> {
[INFO] [stdout]    |      - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 33 |         self.head = Some(new_node);
[INFO] [stdout]    |                          ^^^^^^^^ expected type parameter `T`, found struct `second::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<T>`
[INFO] [stdout]               found struct `Box<second::Node<T>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.head = node.next;
[INFO] [stdout]    |                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             node.elem
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `&mut Box<T>`
[INFO] [stdout]   --> src/second.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut node.elem
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             cur_link = boxed_node.next.take();
[INFO] [stdout]    |                                   ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `peek` found for struct `second::List<_>` in the current scope
[INFO] [stdout]    --> src/second.rs:102:25
[INFO] [stdout]     |
[INFO] [stdout] 4   | pub struct List<T> {
[INFO] [stdout]     | ------------------ method `peek` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 102 |         assert_eq!(list.peek(), None);
[INFO] [stdout]     |                    -----^^^^
[INFO] [stdout]     |                    |    |
[INFO] [stdout]     |                    |    this is an associated function, not a method
[INFO] [stdout]     |                    help: use associated function syntax instead: `second::List::<_>::peek`
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `second::List<T>`
[INFO] [stdout]    --> src/second.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout] 43  |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `peek` found for struct `second::List<{integer}>` in the current scope
[INFO] [stdout]    --> src/second.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 4   | pub struct List<T> {
[INFO] [stdout]     | ------------------ method `peek` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 106 |         assert_eq!(list.peek(), Some(&3));
[INFO] [stdout]     |                    -----^^^^
[INFO] [stdout]     |                    |    |
[INFO] [stdout]     |                    |    this is an associated function, not a method
[INFO] [stdout]     |                    help: use associated function syntax instead: `second::List::<{integer}>::peek`
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `second::List<T>`
[INFO] [stdout]    --> src/second.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout] 43  |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `peek` found for struct `second::List<{integer}>` in the current scope
[INFO] [stdout]    --> src/second.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 4   | pub struct List<T> {
[INFO] [stdout]     | ------------------ method `peek` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 113 |         assert_eq!(list.peek(), Some(&42));
[INFO] [stdout]     |                    -----^^^^
[INFO] [stdout]     |                    |    |
[INFO] [stdout]     |                    |    this is an associated function, not a method
[INFO] [stdout]     |                    help: use associated function syntax instead: `second::List::<{integer}>::peek`
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `second::List<T>`
[INFO] [stdout]    --> src/second.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout] 43  |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0424, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "605b7d0bc514a40817a6b1013ede1c4954fd2d74b8f9da8c5b906457e0f3cfac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "605b7d0bc514a40817a6b1013ede1c4954fd2d74b8f9da8c5b906457e0f3cfac", kill_on_drop: false }`
[INFO] [stdout] 605b7d0bc514a40817a6b1013ede1c4954fd2d74b8f9da8c5b906457e0f3cfac
